﻿@model IEnumerable<Content>
<ul class="list-unstyled mt-3">
    @if (!Model.Any())
    {
        <li class="text-center text-muted text-sm">暂无任何数据</li>
    }
    @foreach (var item in Model)
    {
        <li class="pb-1">
            <div class="row">
                <div class="col  text-truncate">
                    <a asp-page="/Content/Detail" asp-route-id="@item.Id" title="@item.Subject" target="_blank">@(item.Subject)</a>
                </div>
                <div class="col-2">
                    <span class="badge badge-success">@item.VisitNum</span>
                </div>
            </div>
        </li>
    }
</ul>